package com.jblv.frame.user.api.params;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author happyonion.yangtao
 * @version 1.0
 * @title SysDeptParams
 * @projectName jblv-frame
 * @packageName com.jblv.frame.user.api
 * @description 部门前端接收参数
 * @date Create at 2020/5/26 22:03
 * @since jdk1.8
 */
@ApiModel(value="部门DTO类",description="部门数据传类" )
public class SysDeptParams implements Serializable {
    private static final long serialVersionUID = -2568783836533671362L;

    /**
     * 部门ID
     */
    @ApiModelProperty(value = "deptId",example="45a4f4f898944d7d952535509095f248")
    private String deptId;
    /**
     * 上级部门ID，一级部门为0
     */
    @ApiModelProperty(example="52ww",required = false)
    private String parentId;

    /**
     * 部门名称
     */
    @ApiModelProperty(example="政治部")
    private String name;
    /**
     * 排序
     */
    @ApiModelProperty(example="3")
    private Integer orderNum;
    /**
     * 层级
     */
    @ApiModelProperty(example="0")
    private Integer level;
    /**
     * 备注
     */
    private String remark;
    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @ApiModelProperty(example="0")
    private Integer deleteFlag;

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    @Override
    public String toString() {
        return "SysDeptParams{" +
                "deptId='" + deptId + '\'' +
                ", parentId='" + parentId + '\'' +
                ", name='" + name + '\'' +
                ", orderNum=" + orderNum +
                ", level=" + level +
                ", remark='" + remark + '\'' +
                ", deleteFlag=" + deleteFlag +
                '}';
    }
}
